package cn.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import cn.pojo.Sort;

public interface SortMapper {

	@Select("select * from goods_sort")
	List<Sort> getSort();

	@Select("select * from goods_sort where id=#{sortId}")
	Sort getSortById(@Param("sortId") Long sortId);

}
